//
//  UIFont+DD.h
//  GSDache
//
//  Created by dudu on 16/12/5.
//  Copyright © 2016年 tanyin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIFont (DD)

//一行字的宽度
- (CGFloat)oneLineWithString:(NSString *)str;

//根据宽度算出高度
- (CGFloat)heightWithString:(NSString *)str Width:(CGFloat)width;

//根据宽度算出Size
- (CGSize)sizeWithString:(NSString *)str Width:(CGFloat)width;

@end
